﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.E.ERP.Domains.Clients
{
    /// <summary>
    /// 客户档案表
    /// </summary>
    public class CustomerProfiles
    {
        /// <summary>
        /// 客户档案id
        /// </summary>
        [Key]
        public int Uid { get; set; }
        /// <summary>
        /// 客户名
        /// </summary>
        public string? CustomerName { get; set; }
        /// <summary>
        /// 客户别名
        /// </summary>
        public string? Customeraliases { get; set; }
        /// <summary>
        /// 简称
        /// </summary>
        public string? Abbreviation { get; set; }
        /// <summary>
        /// 省
        /// </summary>
        public string? Provinces { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string? cities { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? CompanyAddr { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? Contact { get; set; }
        /// <summary>
        /// 信用等级
        /// </summary>
        public int CreditRating { get; set; }
        /// <summary>
        /// 信用额度
        /// </summary>
        public int CreditLimit { get; set; }
        /// <summary>
        /// 客户分类
        /// </summary>
        public int CustomerSegmentation { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
